package com.example.demo.bean;

import java.util.HashSet;
import java.util.Set;

public class Admin{

	private int id;

	private java.lang.String username;

	private java.lang.String password;

	private java.lang.String salt;

	private java.lang.String createTime;

	private java.lang.String remark;

	private int state;
	private Set<Role> roles = new HashSet<>();

	public Set<Role> getRoles() {
		return roles;
	}

	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}

	public void setId(int id){
		this.id = id;
	}

	public int getId(){
		return this.id;
	}

	public void setUsername(java.lang.String username){
		this.username = username;
	}

	public java.lang.String getUsername(){
		return this.username;
	}

	public void setPassword(java.lang.String password){
		this.password = password;
	}

	public java.lang.String getPassword(){
		return this.password;
	}

	public void setSalt(java.lang.String salt){
		this.salt = salt;
	}

	public java.lang.String getSalt(){
		return this.salt;
	}

	public void setCreateTime(java.lang.String createTime){
		this.createTime = createTime;
	}

	public java.lang.String getCreateTime(){
		return this.createTime;
	}

	public void setRemark(java.lang.String remark){
		this.remark = remark;
	}

	public java.lang.String getRemark(){
		return this.remark;
	}

	public void setState(int state){
		this.state = state;
	}

	public int getState(){
		return this.state;
	}

}